/*
 * KP endesk
 */

package com.ebdesk.model.masterdata;

import java.sql.Timestamp;

/**
 *
 * @author Zulfikar <zulfikarfull@gmail.com>
 */
public class User {
  public final int ADMIN = 1;
  public final int NONADMIN = 2;
  private String username;
  private String name;
  private String email;
  private String password;
  private String created_by;
  private Timestamp created_date;
  private int user_type;

  public String getUsername() {
    return username;
  }

  public void setUsername(String username) {
    this.username = username;
  }

  public String getName() {
    return name;
  }

  public void setName(String name) {
    this.name = name;
  }

  public String getEmail() {
    return email;
  }

  public void setEmail(String email) {
    this.email = email;
  }

  public String getPassword() {
    return password;
  }

  public void setPassword(String password) {
    this.password = password;
  }

  public String getCreated_by() {
    return created_by;
  }

  public void setCreated_by(String created_by) {
    this.created_by = created_by;
  }

  public Timestamp getCreated_date() {
    return created_date;
  }

  public void setCreated_date(Timestamp created_date) {
    this.created_date = created_date;
  }

  public int getUser_type() {
    return user_type;
  }
  
  public void setUser_type(int user_type) {
    this.user_type = user_type;
  }

  public String toString() {
    return this.username + " | " + this.name + " | " + this.email +
            " | " + this.password + " | " + this.created_by + " | " + this.created_date +
            " | " + this.user_type;
  }
}
